# 2024/4/17 上午10:00 HFL
# 导包
import requests

from Utils.RequestUtils import Request

# 发送请求
base_url = 'http://kdtx-test.itheima.net'
request = Request()
response = request.get(url=base_url+'/api/captchaImage')
# 查看响应数据
# print(response.json().get('uuid'))
uuid = response.json().get('uuid')
# # 查看URL
# print(response.url)
# print('查看响应头字符编码',response.encoding)
# print('查看cookie',response.cookies)
# print(response.headers)